﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_Region_SalesOffice : DataObject
    {
        [Column]
        public string Region { get { return _Region; } set { _Region = value; EntityState.FieldChange("Region"); } } private string _Region; public static FieldInfo region = new FieldInfo("m_Region_SalesOffice", "Region");
        [Column]
        public string SalesOffice { get { return _SalesOffice; } set { _SalesOffice = value; EntityState.FieldChange("SalesOffice"); } } private string _SalesOffice; public static FieldInfo salesOffice = new FieldInfo("m_Region_SalesOffice", "SalesOffice");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("m_Region_SalesOffice", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("m_Region_SalesOffice", "Status");

    }
}
